/**
 * Created by Administrator on 2020/4/26.
 */
var colsutil = {
    role_cols : [[
        {field: 'id', width: 120, title: '唯一编码'},
        {field: 'name', width: 150, title: '角色名称'},
        {title: '操作', minWidth: 370, templet: '#myTableBarElem', fixed: "right", align: "center"},
        ]],
    user_cols :  function (tplRoleId) {
        return [[
            {field: 'username', width: 180, title: '用户名', sort: true},
            {field: 'googleKey', width: 180, title: '谷歌验证码'},
            {field: 'roleId', width: 180, title: '角色名称', templet: tplRoleId},
            {title: '操作', minWidth: 220, templet: '#myTableBarElem', fixed: "right", align: "center"}
        ]]
    }
};